MailPoet\WooCommerce\Subscription S

Total Complexity 21
Dependencies 11
Dependents 3
Total lines 149
Lines of code 103
Logical lines of code 50
Comment lines 9
Methods 8
Properties 5

Methods 8

Method Rating Maintainability Complexity Lines of code
subscribeOnCheckout()
A
47 7 37
isCurrentUserSubscribed()
S
61 3 12
extendWooCommerceCheckoutForm()
S
59 2 16
subscribe()
S
66 3 8
getSubscriptionField()
S
63 2 11
updateSubscriberStatus()
S
69 2 7
__construct()
S
69 1 7
requireSubscriptionConfirmation()
S
74 1 5